import { use } from 'echarts/core'
import { CanvasRenderer } from 'echarts/renderers'
import {
  PieChart,
  BarChart,
  LineChart,
  GraphChart,
  GaugeChart,
  MapChart,
  EffectScatterChart,
  LinesChart,
} from 'echarts/charts'

import {
  TitleComponent,
  TooltipComponent,
  LegendComponent,
  GridComponent,
  ToolboxComponent,
  GeoComponent,
} from 'echarts/components'
use([
  LineChart,
  ToolboxComponent,
  CanvasRenderer,
  PieChart,
  TitleComponent,
  TooltipComponent,
  LegendComponent,
  GridComponent,
  BarChart,
  GraphChart,
  GaugeChart,
  MapChart,
  EffectScatterChart,
  GeoComponent,
  LinesChart,
])
